package com.project.server.domain.garden;

import com.project.common.annotation.Excel;
import com.project.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 园区监控信息对象 t_garden_supervisory
 *
 * @author project
 * @date 2021-07-01
 */
public class TGardenSupervisory extends BaseEntity {

    private static final long serialVersionUID = 1L;

    /**
     * 监控编号
     */
    private Long supervisoryId;

    /**
     * 监控名称
     */
    @Excel(name = "监控名称")
    private String supervisoryName;

    /**
     * 监控位置
     */
    @Excel(name = "监控位置")
    private String supervisoryPosition;

    /**
     * 监控点位
     */
    @Excel(name = "监控点位")
    private String supervisoryPt;

    /**
     * 监控类型
     */
    @Excel(name = "监控类型")
    private String supervisoryType;

    /**
     * 监控状态 （0代表运行 1代表待机 2代表下线）
     */
    @Excel(name = "监控状态 ", readConverterExp = "0=代表运行,1=代表待机,2=代表下线")
    private String supervisoryStatus;

    public void setSupervisoryId(Long supervisoryId) {
        this.supervisoryId = supervisoryId;
    }

    public Long getSupervisoryId() {
        return supervisoryId;
    }

    public void setSupervisoryName(String supervisoryName) {
        this.supervisoryName = supervisoryName;
    }

    public String getSupervisoryName() {
        return supervisoryName;
    }

    public void setSupervisoryPosition(String supervisoryPosition) {
        this.supervisoryPosition = supervisoryPosition;
    }

    public String getSupervisoryPosition() {
        return supervisoryPosition;
    }

    public void setSupervisoryPt(String supervisoryPt) {
        this.supervisoryPt = supervisoryPt;
    }

    public String getSupervisoryPt() {
        return supervisoryPt;
    }

    public void setSupervisoryType(String supervisoryType) {
        this.supervisoryType = supervisoryType;
    }

    public String getSupervisoryType() {
        return supervisoryType;
    }

    public void setSupervisoryStatus(String supervisoryStatus) {
        this.supervisoryStatus = supervisoryStatus;
    }

    public String getSupervisoryStatus() {
        return supervisoryStatus;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("supervisoryId", getSupervisoryId())
                .append("supervisoryName", getSupervisoryName())
                .append("supervisoryPosition", getSupervisoryPosition())
                .append("supervisoryPt", getSupervisoryPt())
                .append("supervisoryType", getSupervisoryType())
                .append("supervisoryStatus", getSupervisoryStatus())
                .append("createBy", getCreateBy())
                .append("createTime", getCreateTime())
                .append("updateBy", getUpdateBy())
                .append("updateTime", getUpdateTime())
                .append("remark", getRemark())
                .toString();
    }
}
